package com.qriver.auth.server.feign;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.qriver.auth.server.utils.JwtAuthenticationRequest;
import com.qriver.common.entity.UserInfo;


/**
 * ${DESCRIPTION}
 *
 * @author wanghaobin
 * @create 2017-06-21 8:11
 */
@FeignClient(value = "qriver-core",url = "http://127.0.0.1:9100")
public interface IUserService {
  @RequestMapping(value = "/admin/user/validate", method = RequestMethod.POST)
  public UserInfo validate(@RequestBody JwtAuthenticationRequest authenticationRequest);
}
